Skip to content

GetBlockVerbosity: Add missing value 3 - #1338

Closed
Carti-it wants to merge 1 commit into
MetacoSA:masterfrom
Carti-it:GetBlockVerbosity-3
Closed

Carti-it wants to merge 1 commit into
MetacoSA:masterfrom
Carti-it:GetBlockVerbosity-3

Conversation

@Carti-it

@Carti-it Carti-it commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

This verbosity 3 option was introduced in Bitcoin Core 23.0 and its release notes mentions:

The getblock RPC command now supports verbosity level 3 containing transaction inputs' prevout information. The existing /rest/block/ REST endpoint is modified to contain this information too. Every vin field will contain an additional prevout subfield describing the spent output. prevout contains the following keys:

  • generated - true if the spent coins was a coinbase.
  • height
  • value
  • scriptPubKey

RPC documentation: https://bitcoincore.org/en/doc/31.0.0/rpc/blockchain/getblock/

edit: My goal is to add support for verbosity level 3 here:

if (verbosity == 2)
.

@Carti-it

Carti-it commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor Author

Closing in favor of #1339 which adds support for verbosity 3 and contains this commit.

@Carti-it Carti-it closed this Sep 19, 2026
@Carti-it
Carti-it deleted the GetBlockVerbosity-3 branch September 19, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant